<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: LPTIM_Private_Functions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">LPTIM_Private_Functions<div class="ingroups"><a class="el" href="group___w_b32_l003___std_periph___driver.html">WB32L003_StdPeriph_Driver</a> &raquo; <a class="el" href="group___l_p_t_i_m.html">LPTIM</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga7417bfdf6384631003fd57f0f886eeab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_t_i_m___private___functions.html#ga7417bfdf6384631003fd57f0f886eeab">LPTIM_DeInit</a> (void)</td></tr>
<tr class="memdesc:ga7417bfdf6384631003fd57f0f886eeab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deinitializes the LPTIM peripheral registers to their default reset values.  <a href="#ga7417bfdf6384631003fd57f0f886eeab">More...</a><br /></td></tr>
<tr class="separator:ga7417bfdf6384631003fd57f0f886eeab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacb38ac96fb2bdc029bf2c9b5d10c1943"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_t_i_m___private___functions.html#gacb38ac96fb2bdc029bf2c9b5d10c1943">LPTIM_BaseInit</a> (<a class="el" href="struct_l_p_t_i_m___base_init_type_def.html">LPTIM_BaseInitTypeDef</a> *Base_InitStruct)</td></tr>
<tr class="memdesc:gacb38ac96fb2bdc029bf2c9b5d10c1943"><td class="mdescLeft">&#160;</td><td class="mdescRight">Low Power Time base configuration.  <a href="#gacb38ac96fb2bdc029bf2c9b5d10c1943">More...</a><br /></td></tr>
<tr class="separator:gacb38ac96fb2bdc029bf2c9b5d10c1943"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae30d82cd47702a2cb0eedd931ff993d6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_t_i_m___private___functions.html#gae30d82cd47702a2cb0eedd931ff993d6">LPTIM_TCKCmd</a> (FunctionalState NewState)</td></tr>
<tr class="memdesc:gae30d82cd47702a2cb0eedd931ff993d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the LPTIM time clock.  <a href="#gae30d82cd47702a2cb0eedd931ff993d6">More...</a><br /></td></tr>
<tr class="separator:gae30d82cd47702a2cb0eedd931ff993d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5def9be5681bdb7ecad86ea1c129c227"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_t_i_m___private___functions.html#ga5def9be5681bdb7ecad86ea1c129c227">LPTIM_Cmd</a> (FunctionalState NewState)</td></tr>
<tr class="memdesc:ga5def9be5681bdb7ecad86ea1c129c227"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the LPTIM peripheral.  <a href="#ga5def9be5681bdb7ecad86ea1c129c227">More...</a><br /></td></tr>
<tr class="separator:ga5def9be5681bdb7ecad86ea1c129c227"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaddccc85d9430682e7fafe461ae6c479f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_t_i_m___private___functions.html#gaddccc85d9430682e7fafe461ae6c479f">LPTIM_ITCmd</a> (FunctionalState NewState)</td></tr>
<tr class="memdesc:gaddccc85d9430682e7fafe461ae6c479f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the LPTIM interrupt.  <a href="#gaddccc85d9430682e7fafe461ae6c479f">More...</a><br /></td></tr>
<tr class="separator:gaddccc85d9430682e7fafe461ae6c479f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae8c50d4d451a8127a706e5a38a4d642c"><td class="memItemLeft" align="right" valign="top">FlagStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_t_i_m___private___functions.html#gae8c50d4d451a8127a706e5a38a4d642c">LPTIM_GetFlagStatus</a> (void)</td></tr>
<tr class="memdesc:gae8c50d4d451a8127a706e5a38a4d642c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the LPTIM interrupt flag is set or not.  <a href="#gae8c50d4d451a8127a706e5a38a4d642c">More...</a><br /></td></tr>
<tr class="separator:gae8c50d4d451a8127a706e5a38a4d642c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad5069099cb1076c8a391f49d254f9b03"><td class="memItemLeft" align="right" valign="top">ITStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_t_i_m___private___functions.html#gad5069099cb1076c8a391f49d254f9b03">LPTIM_GetITStatus</a> (void)</td></tr>
<tr class="memdesc:gad5069099cb1076c8a391f49d254f9b03"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the LPTIM interrupt is set or not.  <a href="#gad5069099cb1076c8a391f49d254f9b03">More...</a><br /></td></tr>
<tr class="separator:gad5069099cb1076c8a391f49d254f9b03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0bde54007ed638d8bc4cba2836b0294d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_t_i_m___private___functions.html#ga0bde54007ed638d8bc4cba2836b0294d">LPTIM_ClearFlag</a> (void)</td></tr>
<tr class="memdesc:ga0bde54007ed638d8bc4cba2836b0294d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the LPTIM pending interrupt flag.  <a href="#ga0bde54007ed638d8bc4cba2836b0294d">More...</a><br /></td></tr>
<tr class="separator:ga0bde54007ed638d8bc4cba2836b0294d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1a6df4e501dcb69f2ebae0e737fb838e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_t_i_m___private___functions.html#ga1a6df4e501dcb69f2ebae0e737fb838e">LPTIM_ClearITPendingBit</a> (void)</td></tr>
<tr class="memdesc:ga1a6df4e501dcb69f2ebae0e737fb838e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the LPTIM pending interrupt bit.  <a href="#ga1a6df4e501dcb69f2ebae0e737fb838e">More...</a><br /></td></tr>
<tr class="separator:ga1a6df4e501dcb69f2ebae0e737fb838e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab35a9ae29ce93e8ae6a9bb38c34f7858"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_t_i_m___private___functions.html#gab35a9ae29ce93e8ae6a9bb38c34f7858">LPTIM_SetCounter</a> (uint32_t Counter)</td></tr>
<tr class="memdesc:gab35a9ae29ce93e8ae6a9bb38c34f7858"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the LPTIM counter register value on runtime.  <a href="#gab35a9ae29ce93e8ae6a9bb38c34f7858">More...</a><br /></td></tr>
<tr class="separator:gab35a9ae29ce93e8ae6a9bb38c34f7858"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5de7dfce59a5d7a78bd18a4b767a15d1"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_t_i_m___private___functions.html#ga5de7dfce59a5d7a78bd18a4b767a15d1">LPTIM_GetCounter</a> (void)</td></tr>
<tr class="memdesc:ga5de7dfce59a5d7a78bd18a4b767a15d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets LPTIM counter.  <a href="#ga5de7dfce59a5d7a78bd18a4b767a15d1">More...</a><br /></td></tr>
<tr class="separator:ga5de7dfce59a5d7a78bd18a4b767a15d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaead24d638f43382a01adaef716ce9af9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_t_i_m___private___functions.html#gaead24d638f43382a01adaef716ce9af9">LPTIM_GateCmd</a> (FunctionalState NewState)</td></tr>
<tr class="memdesc:gaead24d638f43382a01adaef716ce9af9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the LPTIM gate function.  <a href="#gaead24d638f43382a01adaef716ce9af9">More...</a><br /></td></tr>
<tr class="separator:gaead24d638f43382a01adaef716ce9af9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9820edfadcb451a89fbd9be8261e6a4a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_t_i_m___private___functions.html#ga9820edfadcb451a89fbd9be8261e6a4a">LPTIM_ToggleCmd</a> (FunctionalState NewState)</td></tr>
<tr class="memdesc:ga9820edfadcb451a89fbd9be8261e6a4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the LPTIM toggle function.  <a href="#ga9820edfadcb451a89fbd9be8261e6a4a">More...</a><br /></td></tr>
<tr class="separator:ga9820edfadcb451a89fbd9be8261e6a4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab8a69d8f8188196efadc6e8745bf541c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_t_i_m___private___functions.html#gab8a69d8f8188196efadc6e8745bf541c">LPTIM_SetGateLevel</a> (uint32_t Level)</td></tr>
<tr class="memdesc:gab8a69d8f8188196efadc6e8745bf541c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets gate level high or low.  <a href="#gab8a69d8f8188196efadc6e8745bf541c">More...</a><br /></td></tr>
<tr class="separator:gab8a69d8f8188196efadc6e8745bf541c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6afe7848b13a13365b75e5c31cd1dbff"><td class="memItemLeft" align="right" valign="top">FlagStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_t_i_m___private___functions.html#ga6afe7848b13a13365b75e5c31cd1dbff">LPTIM_GetSyncFlag</a> (void)</td></tr>
<tr class="memdesc:ga6afe7848b13a13365b75e5c31cd1dbff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Waits for LPTIM WT sync finish.  <a href="#ga6afe7848b13a13365b75e5c31cd1dbff">More...</a><br /></td></tr>
<tr class="separator:ga6afe7848b13a13365b75e5c31cd1dbff"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Function Documentation</h2>
<a id="gacb38ac96fb2bdc029bf2c9b5d10c1943"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacb38ac96fb2bdc029bf2c9b5d10c1943">&#9670;&nbsp;</a></span>LPTIM_BaseInit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LPTIM_BaseInit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_l_p_t_i_m___base_init_type_def.html">LPTIM_BaseInitTypeDef</a> *&#160;</td>
          <td class="paramname"><em>Base_InitStruct</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Low Power Time base configuration. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Base_InitStruct</td><td>: Pointer to <a class="el" href="struct_l_p_t_i_m___base_init_type_def.html" title="LPTIM Time base Configuration Structure definition.">LPTIM_BaseInitTypeDef</a> structure that contains the configuration information for the specified LPTIM module. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga0bde54007ed638d8bc4cba2836b0294d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0bde54007ed638d8bc4cba2836b0294d">&#9670;&nbsp;</a></span>LPTIM_ClearFlag()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LPTIM_ClearFlag </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the LPTIM pending interrupt flag. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga1a6df4e501dcb69f2ebae0e737fb838e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1a6df4e501dcb69f2ebae0e737fb838e">&#9670;&nbsp;</a></span>LPTIM_ClearITPendingBit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LPTIM_ClearITPendingBit </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the LPTIM pending interrupt bit. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga5def9be5681bdb7ecad86ea1c129c227"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5def9be5681bdb7ecad86ea1c129c227">&#9670;&nbsp;</a></span>LPTIM_Cmd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LPTIM_Cmd </td>
          <td>(</td>
          <td class="paramtype">FunctionalState&#160;</td>
          <td class="paramname"><em>NewState</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables or disables the LPTIM peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">NewState</td><td>The new state of the LPTIM peripheral. This parameter can be: ENABLE or DISABLE. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga7417bfdf6384631003fd57f0f886eeab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7417bfdf6384631003fd57f0f886eeab">&#9670;&nbsp;</a></span>LPTIM_DeInit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LPTIM_DeInit </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Deinitializes the LPTIM peripheral registers to their default reset values. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaead24d638f43382a01adaef716ce9af9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaead24d638f43382a01adaef716ce9af9">&#9670;&nbsp;</a></span>LPTIM_GateCmd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LPTIM_GateCmd </td>
          <td>(</td>
          <td class="paramtype">FunctionalState&#160;</td>
          <td class="paramname"><em>NewState</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables or disables the LPTIM gate function. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">NewState</td><td>The new state of LPTIM gate function. This parameter can be: ENABLE or DISABLE. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga5de7dfce59a5d7a78bd18a4b767a15d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5de7dfce59a5d7a78bd18a4b767a15d1">&#9670;&nbsp;</a></span>LPTIM_GetCounter()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t LPTIM_GetCounter </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets LPTIM counter. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">Counter</td><td>value </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gae8c50d4d451a8127a706e5a38a4d642c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae8c50d4d451a8127a706e5a38a4d642c">&#9670;&nbsp;</a></span>LPTIM_GetFlagStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">FlagStatus LPTIM_GetFlagStatus </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks whether the LPTIM interrupt flag is set or not. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">The</td><td>new state of LPTIM interrupt flag(SET or RESET). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gad5069099cb1076c8a391f49d254f9b03"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad5069099cb1076c8a391f49d254f9b03">&#9670;&nbsp;</a></span>LPTIM_GetITStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ITStatus LPTIM_GetITStatus </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks whether the LPTIM interrupt is set or not. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">The</td><td>new state of LPTIM interrupt (SET or RESET). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga6afe7848b13a13365b75e5c31cd1dbff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6afe7848b13a13365b75e5c31cd1dbff">&#9670;&nbsp;</a></span>LPTIM_GetSyncFlag()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">FlagStatus LPTIM_GetSyncFlag </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Waits for LPTIM WT sync finish. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">The</td><td>new state of syns finish (SET or RESET). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaddccc85d9430682e7fafe461ae6c479f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaddccc85d9430682e7fafe461ae6c479f">&#9670;&nbsp;</a></span>LPTIM_ITCmd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LPTIM_ITCmd </td>
          <td>(</td>
          <td class="paramtype">FunctionalState&#160;</td>
          <td class="paramname"><em>NewState</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables or disables the LPTIM interrupt. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">NewState</td><td>The new state of LPTIM interrupt. This parameter can be: ENABLE or DISABLE. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gab35a9ae29ce93e8ae6a9bb38c34f7858"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab35a9ae29ce93e8ae6a9bb38c34f7858">&#9670;&nbsp;</a></span>LPTIM_SetCounter()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LPTIM_SetCounter </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>Counter</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the LPTIM counter register value on runtime. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Counter</td><td>Counter value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gab8a69d8f8188196efadc6e8745bf541c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab8a69d8f8188196efadc6e8745bf541c">&#9670;&nbsp;</a></span>LPTIM_SetGateLevel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LPTIM_SetGateLevel </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>Level</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets gate level high or low. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Level</td><td>Gate level configuartion. This param can be LPTIM_GATELEVEL_HIGH or LPTIM_GATELEVEL_LOW. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gae30d82cd47702a2cb0eedd931ff993d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae30d82cd47702a2cb0eedd931ff993d6">&#9670;&nbsp;</a></span>LPTIM_TCKCmd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LPTIM_TCKCmd </td>
          <td>(</td>
          <td class="paramtype">FunctionalState&#160;</td>
          <td class="paramname"><em>NewState</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables or disables the LPTIM time clock. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">NewState</td><td>The new state of the LPTIM peripheral. This parameter can be: ENABLE or DISABLE. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga9820edfadcb451a89fbd9be8261e6a4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9820edfadcb451a89fbd9be8261e6a4a">&#9670;&nbsp;</a></span>LPTIM_ToggleCmd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LPTIM_ToggleCmd </td>
          <td>(</td>
          <td class="paramtype">FunctionalState&#160;</td>
          <td class="paramname"><em>NewState</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables or disables the LPTIM toggle function. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">NewState</td><td>The new state of LPTIM toggle function. This parameter can be: ENABLE or DISABLE. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
